﻿using Coldairarrow.Entity.Base_Manage;
using Coldairarrow.Util;
using Coldairarrow.Util.Utilities;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base_Manage
{
    public interface IBase_ApiBusiness 
    {
        Task<PageResult<Base_Api>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Base_Api> GetTheDataAsync(string id);
        Task AddDataAsync(Base_Api data);
        Task UpdateDataAsync(Base_Api data);
        Task DeleteDataAsync(List<string> ids);
        Task<string> ExPortToExcel(PageInput<ConditionDTO> input);

        WebResponseContent ImportToExcel(List<IFormFile> files);
    }
}